package com.briup.jz.service;

import java.util.List;

import com.briup.jz.bean.Category;
import com.briup.jz.bean.extend.CategoryExtend;
import com.briup.jz.utils.CustomerException;

public interface ICategoryService {
	void saveOrUpdate(Category category) throws CustomerException;

    List<Category> query(String name);

    void deleteById(long id) throws CustomerException;

	CategoryExtend look(Long id);
}
